define(function (require, exports, module) {

    var mHeader = require("components/header/index.js");
    var mLayout = require("components/layout/index.js");

    var VueComponent = new Vue({
        el: '#app',
        data: {
            title: "头部标题",
            aa: [{
                date: '2016-05-02',
                name: '王小虎',
                edit: false,
                address: '上海市普陀区金沙江路 1518 弄'
            }, {
                date: '2016-05-04',
                name: '王小虎',
                edit: false,
                address: '上海市普陀区金沙江路 1517 弄'
            }, {
                date: '2016-05-01',
                name: '王小虎',
                edit: false,
                address: '上海市普陀区金沙江路 1519 弄'
            }, {
                date: '2016-05-03',
                name: '王小虎',
                edit: false,
                address: '上海市普陀区金沙江路 1516 弄'
            }],
            formInline: {
                user: '',
                region: ''
            },
            form: {
                name: '',
                region: '',
                date1: '',
                date2: '',
                delivery: false,
                type: [],
                resource: '',
                desc: ''
            }
        },
        methods: {

            handleClick(row) {
                row.edit = !row.edit;
            }
        },
        mounted: function () {




            $("#app").slimScroll({
                height: outerHeight + 'px'

            });

            $(".m-layout-side").slimScroll({
                height: outerHeight - 50 + 'px',
                width: '220px'
            });
        }

    });

});